import java.util.Comparator;

class ListCompare implements Comparator {
    // effectively returns a-b;
   // e.g. +1 (or any +ve number) if a > b
   // 0 if a == b
   // -1 (or any -ve number) if a < b
   public final int compare ( Object a, Object b ) {
       Code code = (Code)a
	   Code code2 = (Code)b
	   String desc1 = code.codeDesc.toUpperCase()
	   String desc2 = code2.codeDesc.toUpperCase()
      return( (String)desc1 ).compareTo( (String)desc2 );
   } // end compare
}